<?php
include "function_net_route.php";

$in_array["dev"]= $_POST['dev'];
$in_array['DstIp']= $_POST['dstip'];
$in_array['DstMask'] = $_POST['dstmask'];
$in_array['SrcIp'] = $_POST['srcip'];
$in_array['SrcMask'] = $_POST['srcmask'];
$in_array['Gateway'] = $_POST['gateway'];
$in_array['Valid'] = $_POST['valid'];

AppendXmlOnePolicyRoutes($in_array);

echo("<meta http-equiv='refresh'content=0;URL='net_route_policy_display.php'>");   

?>
